%a(1).
%a(2).
%a(3).

%a(X):- ipPrologEngine(E),javaMessage(E,string(R),toString).


%b:-	ipPrologEngine(E),
%	javaMessage(E,'java.lang.System.out, println(string('hello, world'))),
%	javaMessage(E,'javax.swing.JFrame',W,'JFrame'(string(myTitle))),
%	javaMessage(E,W,C,getContentPane), 
%	javaMessage(E,'javax.swing.JLabel',L, 'JLabel'(string('Hello Prolog, greetings from Swing:-)'))),
%	javaMessage(E,C,add(string('Center'),L)),
%	javaMessage(E,W,pack),
%	javaMessage(E,W,show).


a:- ipPrologEngine(Engine), 
    javaMessage('it.cnr.icib.XSBProlog.examples.HelloWindow2','HelloWindow2'(Engine)).
    
    
e04:- ipPrologEngine(Engine), 
    javaMessage('it.cnr.icib.XSBProlog.examples.HelloWindow2','HelloWindow2'(Engine)).    